<?php
    $db = new DBQuery;
    $sql = "SELECT * FROM slide";
    $slide = $db->query($sql);
    foreach($slide as $sli):
?>
    <img src="../images/slide_image/<?php echo $sli['sli_path'];?>" alt=""  />
<?php endforeach;?>
